package com.linewell.service;

import com.linewell.utils.Msg;

/**
 * @Title: ssm2
 * @description:
 * @author: hyuhuang@linewell.com
 * @since:2018/2/12
 */
public interface IPointService {
    Msg checkIsFavor(Long userId, Long pointId);

    Msg updatePoint(Long userId, Long pointId, int isFavorType, int zanNum, int caiNum);

    Msg updateCollect(Long userId, Long pointId, int isCollectType, int collectNum);

    Msg checkIsCollect(Long userId, Long pointId);

    Msg checkIsCommentFavor(Long replyId, Long userId);

    Msg updateCommentPoint(Long replyId, Long userId, int isFavorType, int zanNum, int caiNum);
}
